Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCM-10315 : Add instance addition script #49

Merged
merged 6 commits into from
Oct 7, 2024

Conversation

tirthct
Copy link
Collaborator

@tirthct tirthct commented Oct 3, 2024

Changed

  • Add instance addition script

@@ -17,6 +17,7 @@ limitations under the License.
package main

import (
"github.com/openshift-online/ocm-support-cli/cmd/ocm-support/add"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: order of imports

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@cristianoveiga
Copy link
Collaborator

@tirthct can you add an example in the README about how to use this?

@tirthct
Copy link
Collaborator Author

tirthct commented Oct 4, 2024

@tirthct can you add an example in the README about how to use this?

As discussed, we will create a new PR for documentation once the script it ready


func init() {
flags := Cmd.Flags()
flags.BoolVar(&args.dryRun, "dry-run", true, "When true, don't actually take any actions, just print the actions that would be taken")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This message is quite generic, can we improve that/make more clear?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed

@cristianoveiga
Copy link
Collaborator

LGTM

@tirthct tirthct merged commit 70daf3d into openshift-online:main Oct 7, 2024
1 check passed
@tirthct tirthct deleted the ocm-10315 branch October 7, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants